import request from '@/utils/request'

// 提交意见
export const submitFeedBackService = (data: any) => request.post('/public/feedBack', data)

// 获取意见列表
export const getFeedBackService = () => request.get('/public/feedBack')

// 获取指定意见
export const getFeedBackListBySpecificService = (data: any) => request.post(`/public/feedBack/specific`, data)

// 删除意见
export const deleteFeedBackService = (data: any) => request.delete('/public/feedBack', data)

// 更新反馈状态
export const updateFeedBackService = (data: any) => request.put('/public/feedBack', data)
